home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TeX 1995 July
/
TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO
/
tex-k
/
lucida-1.2.tar.gz
/
lucida-1.2.tar
/
lucida-1.2
/
Makefile
< prev
next >
Wrap
Makefile
|
1992-10-31
|
2KB
|
98 lines
# Makefile for Lucida math fonts.
#
version = 1.2
# Installation directories.
#
tfm_dir = /usr/local/lib/tex/fonts/adobe/lucida
vf_dir = $(tfm_dir)
# How to install the font files.
#
INSTALL_DATA = install -m 664
# The various files we can make.
#
regular=plcb.tfm plcbi.tfm plcr.tfm plcri.tfm plcro.tfm
math=plcrm.tfm plcry.tfm plcrv.tfm
sans=plcbis.tfm plcbs.tfm plcrs.tfm plcris.tfm plcrst.tfm # plcbst
bright=plcbb.tfm plcrb.tfm plcrbi.tfm # plcdbi
adobe_all = $(math) $(regular) $(sans) $(bright)
# We use afm2tfm from the dvips{,k} distribution.
#
AFM2TFM=afm2tfm
AFM2TFMFLAGS=-O
# Directory where encoding files are kept.
encoding_dir = $(dvips)/reencode
# How to make a TFM file from a VPL file (run vptovf, ignoring warnings
# about numbers larger than 2048).
# (I don't understand why `.vpl.tfm' doesn't work.)
#
%.vf %.tfm: %.vpl hack-vpl hack-tfm
hack-vpl $<
vptovf $< $*.vf $*.tfm
hack-tfm $*.tfm
# How to make a TFM file from an AFM file (overridden for the math
# fonts, which need a special encoding).
%.vpl: %.afm $(AFM2TFM)
$(AFM2TFM) $< -v $*.vpl r$*.tfm
# How to make a .enc file (copy from another directory):
#
%.enc:
cp $(encoding_dir)/$@ .
chmod 444 $@
default: $(adobe_all)
all: $(adobe_all)
# Slanted.
plcro.vpl: plcr.afm
$(AFM2TFM) $< $(AFM2TFMFLAGS) -s .167 -v $@ rplcro.tfm
# Math italic.
plcrm.vpl: plcrm.afm texmital.enc
$(AFM2TFM) $< $(AFM2TFMFLAGS) -v $@ -t texmital.enc rplcrm.tfm
# Math symbol.
plcry.vpl: plcry.afm plcry.add texmsym.enc
$(AFM2TFM) $< $(AFM2TFMFLAGS) -v $@ -t texmsym.enc rplcry.tfm
# Math extension.
plcrv.vpl: plcrv.afm plcrv.add texmext.enc
$(AFM2TFM) $< $(AFM2TFMFLAGS) -v $@ -t texmext.enc rplcrv.tfm
install: all
-mkdir $(tfm_dir) $(vf_dir) >/dev/null 2>&1
for f in *.tfm; do $(INSTALL_DATA) $$f $(tfm_dir)/$$f; done
for f in *.vf; do $(INSTALL_DATA) $$f $(vf_dir)/$$f; done
distdir = lucida-$(version)
dist: $(adobe_all)
rm -rf $(distdir)
mkdir $(distdir)
ln Makefile NEWS README lucidamath.tex $(distdir)
bash -c "ln plc*.{afm,tfm,vf} $(distdir)"
ln rplc*.tfm $(distdir)
ln *.sty *.sup $(distdir)
cp $(encoding_dir)/*.enc $(distdir)
grep rplc psfonts.add > $(distdir)/psfonts.add
cp $(generic)/tralphap.tex $(distdir)
tar czf $(distdir). $(distdir)
rm -rf $(distdir)
mostlyclean clean:
rm -f hackvpl* *.pl *.vpl *.enc
distclean: clean
realclean:
rm -f *.tfm *.vf
extraclean: distclean
rm -f *~ *#* *.dvi *.log *.aux *.ps